package com.jet.member.domain.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-03-02
 */
@Getter
@Setter
@TableName("m_member")
@ApiModel(value = "Member对象", description = "")
public class Member implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.INPUT)
    private String id;

    private Long merchantNo;

    private Long storeNo;

    private String phone;

    private String name;

    private Integer sex;

    private LocalDateTime birthDay;

    @TableField(fill = FieldFill.INSERT)
    private Integer status;

    private String remark;

    private String accountId;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    private String avatar;

    @ApiModelProperty("是否删除")
    private Integer deleted;

    private String levelId;

    @ApiModelProperty("注册来源方式")
    private Integer source;

    @ApiModelProperty("来源渠道")
    private Integer channel;

    @ApiModelProperty("推荐人")
    private String referenceId;
}
